Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Google Translate with multiple API support #4

Merged
merged 3 commits into from
Jan 18, 2024
Merged

Conversation

4746
Copy link
Owner

@4746 4746 commented Jan 18, 2024

No description provided.

4746 added 3 commits January 18, 2024 07:58
Implemented Google Translate functionality supporting various Google APIs. New command `translate:google` and respective test cases were added. The translation functionality provides support for numerous languages by mapping respective language codes.
Simplified the extraction of translation and source language in Google Translate engine. The prior large block of hardcoded mappings has been replaced with `UTIL.getNestedValue()` to fetch respective keys from the returned translation object. This approach results in cleaner code and eases future updates.
With this change, GoogleEngine has now been added as a translation engine option in the application. The configuration can now switch to GoogleEngine if 'google' is selected. This added support provides more options and flexibility in the choice of translation engines. The entities, engine, and configuration files reflect this update, and the application version is incremented in package.json to signal this significant addition.
@4746 4746 merged commit fa5f38a into main Jan 18, 2024
@4746 4746 deleted the google-translate branch January 18, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant